package com.zttek.videoShareProject.modules.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author CBY
 * @since 2018-07-03
 */
public class Abuse extends Model<Abuse> {

    private static final long serialVersionUID = 1L;

	@TableId(value="abuse_id", type= IdType.AUTO)
	private Long abuseId;
	@TableField("user_id")
	private Long userId;
	@TableField("video_id")
	private Long videoId;
	private Integer reason;
    /**
     * 审核状态：  0：未审核，1：审核
     */
	private Integer status;
	@TableField("create_date")
	private Date createDate;


	public Long getAbuseId() {
		return abuseId;
	}

	public void setAbuseId(Long abuseId) {
		this.abuseId = abuseId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getVideoId() {
		return videoId;
	}

	public void setVideoId(Long videoId) {
		this.videoId = videoId;
	}

	public Integer getReason() {
		return reason;
	}

	public void setReason(Integer reason) {
		this.reason = reason;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	@Override
	protected Serializable pkVal() {
		return this.abuseId;
	}

	@Override
	public String toString() {
		return "Abuse{" +
			"abuseId=" + abuseId +
			", userId=" + userId +
			", videoId=" + videoId +
			", reason=" + reason +
			", status=" + status +
			", createDate=" + createDate +
			"}";
	}
}
